package com.hyh.eblog.shiro;

import lombok.Data;
import sun.security.provider.certpath.PKIXTimestampParameters;

import java.io.Serializable;
import java.util.Date;

/**
 * @author Summerday
 */
@Data
public class AccountProfile implements Serializable {

    private static final long serialVersionUID = -6060343040263809614L;

    private Long id;

    private String username;

    private String email;

    private Date created;

    private String avatar;

    private String gender;

    private String sign;

    public String getSex(){
        return "0".equals(gender) ? "女": "男";
    }

}
